In response to a search result query providing a snippet of a document including an element previously highlighted by a user

ABSTRACT

A system may aggregate highlighting information associated with a document that includes a number of elements. The highlighting information may identify one or more of the elements that have been highlighted by a group of users. The system may determine weight values for the one or more elements, generate information associated with the document based on the weight values, and provide the information.

BACKGROUND

Implementations described herein relate generally to informationretrieval and, more particularly, to highlighting of document elementsand the use of this information.

The World Wide Web (“web”) contains a vast amount of information.Locating a desired portion of the information, however, can bechallenging. This problem is compounded because the amount ofinformation on the web and the number of new users inexperienced at websearching are growing rapidly.

Some existing services permit a user to highlight portions of web pagesthat are of interest to the user. This highlighting can be persistent,such that when the user later accesses those web pages the highlightingis present. The highlighting might permit the user to easily findportions of these web pages that the user previously identified as beingof interest, as indicated by the user's previous highlighting.

SUMMARY

According to one aspect, a method may include aggregating highlightinginformation associated with a document, the document including a numberof elements, the highlighting information identifying one or more of theelements that have been highlighted by a group of users; determiningweight values for the one or more elements; generating a snippet or asummary for the document using at least one of the one or more elementsbased on the weight values; and providing the snippet or the summary.

According to another aspect, a system may include an annotationcollector, a weight aggregator, and a snippet renderer. The annotationcollector may aggregate highlighting information associated with adocument, where the document may include a number of elements, and thehighlighting information may identify one or more of the elements thathave been highlighted by a group of users. The weight aggregator maydetermine weight values for the one or more elements. The snippetrenderer may generate a snippet for the document using at least one ofthe one or more elements based on the weight values, and provide thesnippet.

According to yet another aspect, a system may include a summary rendererthat may receive an instruction to present a summary regarding adocument, obtain weight values associated with elements within thedocument, the weight value associated with one of the elements withinthe document being a function of how many users previously highlightedthe one of the elements, generate the summary using at least one of theelements based on the weight values, and provide the summary.

According to a further aspect, a method may include providing adocument; detecting marking of an element within the document;highlighting the element based on the marking of the element; andsending information regarding the element for storage in a per-userdatabase and in an aggregate database, where the per-user databasestores the information in an entry associated with a user who marked theelement, and the aggregate database stores the information in an entryassociated with the document.

According to another aspect, a method may include aggregatinghighlighting information associated with a document, where the documentmay include a number of elements, and the highlighting information mayidentify one or more of the elements that have been highlighted by agroup of users; determining weight values for the one or more elements;generating document statistics based on the weight values; and providingthe document statistics.

According to a further aspect, a system may include means foraggregating highlighting information associated with a document, wherethe document may include a number of elements, and the highlightinginformation may identify one or more of the elements that have beenhighlighted by a group of users. The system may also include means fordetermining weight values for the one or more elements; means forgenerating information associated with the document based on the weightvalues; and means for providing the information.

According to another aspect, a method may include receiving informationregarding at least one element that has been highlighted by a user in adocument; generating a new address for the document, the generatedaddress identifying a version of the document in which the at least oneelement is highlighted within the document; and providing the generatedaddress to the user to permit the user to share the document withanother user, and/or publishing the document based on the generatedaddress.

According to a further aspect, a method may include receivinginformation regarding elements that have been highlighted by one or moreusers within one or more documents; generating an address for a virtualdocument that is created based on at least one of the elements that hasbeen highlighted in the one or more documents; and providing thegenerated address to one of the users to permit the one of the users toshare the virtual document with another user, and/or publishing thevirtual document based on the generated address.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute apart of this specification, illustrate one or more embodiments describedherein and, together with the description, explain the invention. In thedrawings,

FIG. 1 is an exemplary diagram illustrating a concept described herein;

FIG. 2 is an exemplary diagram of a network in which systems and methodsdescribed herein may be implemented;

FIG. 3 is an exemplary diagram of a client or server of FIG. 2;

FIG. 4 is an exemplary functional block diagram of a client and serverof FIG. 2;

FIG. 5 is a flowchart of an exemplary process for storing highlightinginformation;

FIGS. 6A-6D are exemplary diagrams illustrating highlighting of aportion of a document;

FIG. 7 is a flowchart of an exemplary process for presenting a documentwith highlighting;

FIG. 8 is a flowchart of an exemplary process for generating a snippetor summary based on highlighting of document elements;

FIG. 9 is an exemplary table illustrating weight values that might bedetermined for elements of a document;

FIG. 10 is an example of a table illustrating weight values that mightbe determined for elements within an example document;

FIGS. 11A and 11B are diagrams illustrating exemplary snippets;

FIGS. 12A-12C are diagrams illustrating exemplary summaries;

FIG. 13 is a flowchart of an exemplary process for determining documentstatistics based on highlighting of document elements; and

FIG. 14 is an exemplary diagram illustrating the presentation ofstatistics on an example document.

DETAILED DESCRIPTION

The following detailed description refers to the accompanying drawings.The same reference numbers in different drawings may identify the sameor similar elements. Also, the following detailed description does notlimit the invention.

Overview

Implementations described herein may facilitate highlighting of documentelements. Implementations described herein may also aggregatehighlighting from a number of users and use information regarding theaggregated highlighting to generate snippets and/or summaries ofdocuments and/or determine statistics regarding documents.Implementations described herein may further permit highlighting to beshared or published.

FIG. 1 is an exemplary diagram illustrating a concept described herein.As shown in FIG. 1, users might highlight elements within documents. Thehighlighted elements may be aggregated from a number of different usersand stored in a database. Information regarding the highlighted elementsmay be used to generate snippets and/or summaries of documents and/ordetermine statistics regarding documents.

A “document,” as the term is used herein, is to be broadly interpretedto include any machine-readable and machine-storable work product. Adocument may include, for example, an e-mail, a web site, a file, acombination of files, one or more files with embedded links to otherfiles, a news group posting, a blog, a business listing, an electronicversion of printed text, a web advertisement, etc. In the context of theInternet, a common document is a web page. Documents often includetextual information and may include embedded information (such as metainformation, images, hyperlinks, etc.) and/or embedded instructions(such as Javascript, etc.). An “element,” as the term is used herein, isto be broadly interpreted to include any portion of a document. Forexample, an element might include text of any length, such as acharacter, a symbol, a word, a phrase, a sentence, a paragraph, or somecombination of characters, words, symbols, phrases, sentences, orparagraphs. An element could also include non-text, such as an image.The term “highlighting,” as used herein, is to be broadly interpreted toinclude any visual effect that may be applied to an element. Anytechnique may be used to render the visual effect.

Exemplary Network Configuration

FIG. 2 is an exemplary diagram of a network 200 in which systems andmethods described herein may be implemented. Network 200 may includemultiple clients 210 connected to servers 220 and 230 via a network 240.Two clients 210 and two servers 220 and 230 have been illustrated asconnected to network 240 for simplicity. In practice, there may be moreor fewer clients and servers. Also, in some instances, a client mayperform a function of a server or a server may perform a function of aclient.

Clients 210 may include client entities. An entity may be defined as adevice, such as a personal computer, a wireless telephone, a personaldigital assistant (PDA), a lap top, or another type of computation orcommunication device. In one implementation, a client 210 may include abrowser 215. Browser 215 may permit a user to access documents and mayprovide an interface to servers 220 and 230. Browser 215 may include abrowser assistant that may take the form of an add-on toolbar or someother functionality that may operate separate from or in conjunctionwith browser 215. In another implementation, the browser assistant maybe integrated as part of browser 215. In some situations, the browserassistant may operate as an interface between browser 215 and network240.

Servers 220 and 230 may include server entities that gather, process,search, and/or maintain documents. In one implementation, server 220 mayaggregate highlighting from a number of clients 210, as described indetail below. Server 230 may store or maintain documents that may beaccessed by clients 210. Such documents may include data related to newsstories, products, images, user groups, geographic areas, or any othertype of data.

While servers 220 and 230 are shown as separate entities, it may bepossible for one of server 220 or 230 to perform one or more of thefunctions of the other one of server 220 or 230. For example, it may bepossible for both servers 220 and 230 to be implemented as a singleserver. It may also be possible for a single one of server 220 or 230 tobe implemented as two or more separate (and possibly distributed)devices.

Network 240 may include a local area network (LAN), a wide area network(WAN), a telephone network, such as the Public Switched TelephoneNetwork (PSTN) or a cellular network, an intranet, the Internet, or acombination of networks. Clients 210 and servers 220 and 230 may connectto network 240 via wired and/or wireless connections.

Exemplary Client/Server Architecture

FIG. 3 is an exemplary diagram of a client or server entity (hereinaftercalled “client/server entity”), which may correspond to one or more ofclients 210 and/or servers 220 and 230. The client/server entity mayinclude a bus 310, a processor 320, a main memory 330, a read onlymemory (ROM) 340, a storage device 350, an input device 360, an outputdevice 370, and a communication interface 380. Bus 310 may include apath that permits communication among the elements of the client/serverentity.

Processor 320 may include a processor, microprocessor, or processinglogic that may interpret and execute instructions. Main memory 330 mayinclude a random access memory (RAM) or another type of dynamic storagedevice that may store information and instructions for execution byprocessor 320. ROM 340 may include a ROM device or another type ofstatic storage device that may store static information and instructionsfor use by processor 320. Storage device 350 may include a magneticand/or optical recording medium and its corresponding drive.

Input device 360 may include a mechanism that permits an operator toinput information to the client/server entity, such as a keyboard, amouse, a pen, voice recognition and/or biometric mechanisms, etc. Outputdevice 370 may include a mechanism that outputs information to theoperator, including a display, a printer, a speaker, etc. Communicationinterface 380 may include any transceiver-like mechanism that enablesthe client/server entity to communicate with other devices and/orsystems. For example, communication interface 380 may include mechanismsfor communicating with another device or system via a network, such asnetwork 240.

As will be described in detail below, the client/server entity, asdescribed herein, may perform certain operations relating tohighlighting of document elements. The client/server entity may performthese operations in response to processor 320 executing softwareinstructions contained in a computer-readable medium, such as memory330. A computer-readable medium may be defined as a physical or logicalmemory device and/or carrier wave.

The software instructions may be read into memory 330 from anothercomputer-readable medium, such as data storage device 350, or fromanother device via communication interface 380. The softwareinstructions contained in memory 330 may cause processor 320 to performprocesses that will be described later. Alternatively, hardwiredcircuitry may be used in place of or in combination with softwareinstructions to implement processes described herein. Thus,implementations described herein are not limited to any specificcombination of hardware circuitry and software.

FIG. 4 is a functional block diagram of client 210 and server 220. Thefunctional blocks illustrated in FIG. 4 may be implemented in software,hardware, or a combination of software and hardware on client 210 and/orserver 220. While particular functional blocks are shown as beingassociated with client 210 and other functional blocks are shown asbeing associated with server 220, any of these functional blocks may beimplemented in client 210, server 220, or a combination of client 210and server 220.

As shown in FIG. 4, client 210 may include a highlighter tool 410, ahighlighter renderer 412, and a snippet/summary renderer 414. Server 220may include an annotation collector 450, a database 452, an annotationretriever 454, a weight aggregator 456, and a statistics generator 458.Each of these functional blocks will be generally described and thendescribed later in more detail.

Highlighter tool 410 may facilitate highlighting of document elements bya user of client 210. Highlighter tool 410 may send highlightinginformation regarding the document elements highlighted by the user toannotation collector 450. Annotation collector 450 may gather thehighlighting information from highlighter tool 410 and store thehighlighting information in database 452.

Database 452 may include a per-user database and an aggregate database.The highlighting information associated with a particular user may bestored in both the per-user database and the aggregate database. Anentry in the per-user database may be associated with a particular userand indicate the documents on which the user performed highlighting andthe elements in those documents highlighted by the user. An entry in theaggregate database may be associated with a particular document andindicate which elements in the document have been highlighted by one ormore users and a weight value associated with each element. The weightvalue associated with an element may be a function of how many usershighlighted that element. In an alternative implementation, weightvalues may be generated on-the-fly (e.g., when needed) and need not bestored in the aggregate database.

A new address (e.g., a Uniform Resource Locator (URL)) may be generatedand associated with a document that contains user highlighting. In oneimplementation, the new address may correspond to the document with allof the highlighting performed by the user. Alternatively, multiple newaddresses may be generated and associated with a document that containsall or a subset of the highlighting performed by the user. For example,an address may be associated with a snapshot of the highlighting at thetime that the address was generated. Alternatively, addresses may begenerated to show varying degrees of highlighting performed by the user.For example, an address may be associated with highlighting thatoccurred between two points in time.

In another implementation, the new address may correspond to a virtualdocument created based on highlighting performed by the user on a groupof documents. The highlighted elements in the group of documents can beassociated with each other in various ways. For example, labels may beassigned to highlighted elements. In this case, the address maycorrespond to a virtual document that includes highlighted elements froma group of documents that have been assigned the same label(s).

In yet another implementation, the new address may correspond to avirtual document created based on highlighting performed by a group ofusers on a group of documents. The highlighted elements in the group ofdocuments can be associated with each other in various ways. Forexample, highlighted elements may be associated based on labels assignedto the highlighted elements, the content of the highlighted elements(e.g., highlighted elements that relate to the same topic), the timethat the highlighted elements were highlighted, and/or other features.In this case, the address may correspond to a virtual document thatincludes highlighted elements from a group of documents that have beenassociated in some manner.

In a further implementation, the new address may correspond to a virtualdocument that includes highlighting performed by a single user or agroup of users on a single document or a group of documents and possiblyannotations relating to the document(s) and/or the highlighted elements.For example, a user may be permitted to annotate a document and/or ahighlighted element. This annotation may be included with thehighlighted element in the virtual document corresponding to the newaddress.

The newly generated address(es) may be stored in the per-user databasein association with a particular user or group of users, and/or in theaggregate database in association with a particular document or group ofdocuments. The newly generated address(es) may be used by users to sharethe corresponding document(s) with other users, or published tosubscribing users (e.g., based on the new address(es)).

Annotation retriever 454 may retrieve highlighting information for adocument from database 452 and provide the highlighting information tohighlighter renderer 412. Highlighter renderer 412 may facilitate thedisplay of highlights when the document is presented on a display ofclient 210. The highlights displayed for the document may include priorhighlights performed only by the user of client 210. Alternatively, oradditionally, the highlights displayed for the document may includeprior highlights performed by one or more other users. Annotationretriever 454 may publish highlights associated with a particulardocument, or a set of documents, by the user or a group of users. Forexample, a user might be permitted to subscribe to a feed (e.g., aReally Simple Syndication (RSS) feed) of highlights to a particulardocument, or a set of documents, or the user might be permitted toreceive highlights to a document while the user is currently accessingthe document.

Weight aggregator 456 may gather weight values associated with elementswithin a document from database 452 and provide the weight values tosnippet/summary renderer 414. Snippet/summary renderer 414 mayfacilitate the flexible display of a snippet and/or summary associatedwith a document based on the weight values received from weightaggregator 456. The display is “flexible” in the sense that the user maybe permitted to control the portion of the document included in thesnippet or summary by changing a threshold value that determines whichelements, based on the weight values associated with the elements, maybe included in the snippet or summary.

Statistics generator 458 may analyze weight values associated withelements within a document in database 452 and generate informationregarding how users interacted with the document. This information maygenerally be referred to as “statistics” regarding the document. Thestatistics may indicate which portions of the document users indicatedwere important to them, as reflected by which elements the usershighlighted. The statistics might be used by a document designer,operator, or owner to facilitate the design or modification of adocument, provide information regarding user traffic, determine where onthe document to place advertisements, etc. The statistics might also beused by a search engine provider to adjust search result rankings orfacilitate user search profiling. The statistics might also be used byan advertisement provider to facilitate the targeting of advertisementson a document.

Exemplary Processing

FIG. 5 is a flowchart of an exemplary process for storing highlightinginformation. In one implementation, the processing of FIG. 5 may beperformed by one or more software and/or hardware components withinclient 210, server 220, or a combination of client 210 and server 220.FIGS. 6A-6D are exemplary diagrams illustrating highlighting of aportion of a document.

Processing may begin with presentation of a document (block 510). In oneimplementation, the document may be presented via a browser window ofbrowser 215 on client 210. The particular document that is presented mayinclude any type or form of document selected in any manner by the user.The user might select the document by entering an address (e.g., URL)into an address box of browser 215 or by selecting a link in a document(e.g., a search result document, a directory, or any document thatincludes a link to another document).

Selection of an element within the document may be received (block 520).In one implementation, selection of an element includes the act ofhighlighting that element. The highlighting operation may be performedby highlighter tool 410 on client 210. The highlighting operation can beaccomplished in a number of ways.

In one implementation, the highlighting might be accomplished via aright click operation, as shown in FIG. 6A. In this case, a user mightmark an element to be highlighted. “Marking” is a built-in operationprovided by many browsers. An element is typically marked as a firststep of an action. A typical built-in action may include copying themarked element to the clipboard. Another action might include performinga search based on the marked element. After marking the element, theuser may right click on the marked element using a pointing device(e.g., a mouse). The right click may cause a menu to be presented. Theuser may select a menu item corresponding to the highlighting operation.The selection may cause the marked element to be highlighted.

In another implementation, the highlighting might be accomplished via adrag and drop operation, as shown in FIG. 6B. In this case, a user mightmark an element to be highlighted. After marking the element, the usermay left click on the marked element using a pointing device (e.g., amouse) and hold the left click, drag the marked element to a button(e.g., the highlight button shown in FIG. 6B), and drop the markedelement there (e.g., by releasing the left click). The dropping maycause the marked element to be highlighted.

In yet another implementation, the highlighting operation might beaccomplished via a button selection, as shown in FIG. 6C. In this case,a user might mark an element to be highlighted. After marking theelement, the user may click on a button (e.g., the highlight buttonshown in FIG. 6C). The clicking on the button may cause the markedelement to be highlighted.

In a further implementation, the highlighting operation might beaccomplished via marking, as shown in FIG. 6D. In this case, a usermight mark an element to be highlighted. The marking may cause themarked element to be highlighted. In other words, everything marked by auser for any purpose might be automatically highlighted. The advantageof this implementation is simplicity: there is no need to educate usersabout right-clicking, dragging, etc. There might be an option to switchthe automatic highlighting mode on and off (and the default might beoff). There might also be an option to undo the highlighting operation.

Returning to FIG. 5, the selected element may be visually highlighted ona display of the document (block 530). Any visual effect can be used tohighlight the element. Any technique may be used to render the visualeffect.

The element selection may also be sent, as highlighting information, toserver 220 (block 540). For example, highlighter tool 410 on client 210may send the highlighting information to annotation collector 450 onserver 220. In one implementation, highlighter tool 410 sendsinformation regarding the user along with the highlighting information.In another implementation, server 220 may recognize the user in anotherway, such as the user separately logging into server 220.

The highlighting information may be persistently stored (block 550). Forexample, annotation collector 450 may store the highlighting informationin database 452. As explained above, database 452 may include theper-user database and the aggregate database. Annotation collector 450may store the highlighting information in both databases. For example,annotation collector 450 may store the highlighting information in anentry associated with the user in the per-user database Annotationcollector 450 may generate a new address for the highlighted documentand provide the address to the user. This new address may be associatedwith the entry in the per-user database. The user may share thehighlighted document with another user by providing that other user withthe new address.

Annotation collector 450 may store the highlighting information in anentry associated with the document in the aggregate database Annotationcollector 450 may increase the weight value associated with the selectedelement.

FIG. 7 is a flowchart of an exemplary process for presenting a documentwith highlighting. In one implementation, the processing of FIG. 7 maybe performed by one or more software and/or hardware components withinclient 210, server 220, or a combination of client 210 and server 220.

Processing may begin with identification of a document (block 710). Theparticular document that is identified may include any type or form ofdocument selected in any manner by the user. For example, the user mightidentify the document by entering an address (e.g., URL) into an addressbox of browser 215 or by selecting a link in a document (e.g., a searchresult document, a directory, or any document that includes a link toanother document).

Highlighting information related to the document, if any, may beretrieved (block 720). For example, highlighter renderer 412 on client210 may send a request to annotation retriever 454 on server 220. Therequest may include information regarding the document (e.g., a URL) andinformation regarding the user. In one implementation, annotationretriever 454 may access the per-user database to retrieve highlightinginformation for the document that is associated with the user. Inanother implementation, annotation retriever 454 may access the per-userdatabase to retrieve highlighting information for the document that isassociated with another user or a group of users with which the user hasbeen previously associated. In yet another implementation, annotationretriever 454 may access the aggregate database to retrieve highlightinginformation associated with the document.

The document may be modified to include the highlighting information(block 730). In one implementation, annotation retriever 454 may sendthe highlighting information to highlighter renderer 412. Highlighterrenderer 412 may modify the document to visually highlight theelement(s) identified by the highlighting information. When thehighlighting information corresponds to more than the user, highlighterrenderer 412 may use a different visual effect for highlightinginformation associated with the different users.

The modified document may be provided with appropriate highlighting(block 740). For example, highlighter renderer 412 may cause thedocument to be presented on a display of client 210 with the highlightedelement(s) visually distinguished in some manner. Any technique may beused to visually distinguish the highlighted element(s). Sometimes adocument may be modified after it has been highlighted. In oneimplementation, all previous highlights may be erased when the documentis modified. In another implementation, one or more previous highlightsmay remain depending on the extent of modification of the document.

A user might obtain information regarding highlights to a document, or aset of documents, in another way. For example, a user might subscribe tohighlights associated with a document, or a set of documents, by anotheruser or a group of other users. In this case, annotation retriever 454may provide a feed that includes information regarding new highlights toa document, or a set of documents. Alternatively, annotation retriever454 may provide information regarding new highlights to a documentcurrently accessed by a user so that the new highlights can be renderedon the document while the user is accessing the document. In this case,it might be beneficial to give a different visual effect to the newhighlights so that the user can identify the new highlights.

FIG. 8 is a flowchart of an exemplary process for generating a snippetor summary based on highlighting of document elements. In oneimplementation, the processing of FIG. 8 may be performed by one or moresoftware and/or hardware components within client 210, server 220, or acombination of client 210 and server 220.

Processing may begin with the aggregation of highlighting informationfrom a group of users (block 810). For example, users of clients 210 mayuse highlighter tool 410 to highlight elements in documents in a mannersimilar to that described above with regard to FIG. 5. The highlightinginformation may be stored in the aggregate database of database 452. Asdescribed above, an entry in the aggregate database may includehighlighting information for a document from a group of users and weightvalues for elements within the document.

Weight values may be determined for document elements based on theaggregated highlighting information (block 820). A weight value for adocument element may be a function of the number of users whohighlighted that element. Server 220 may generate or maintain a tablefor a document that identifies the weight values associated with theelements in that document.

FIG. 9 is an exemplary table illustrating weight values that might bedetermined for elements of a document. As shown in FIG. 9, the table mayinclude an element field and a weight field. The element field mayidentify different elements in the document. The weight field mayidentify a weight value determined for a corresponding element. In oneimplementation, the weight value may be normalized to fall within apredetermined range (e.g., 0-100, 0-1000, etc.).

Returning to FIG. 8, a document snippet or summary may be generatedbased on the determined weight value(s) (block 830). For example,elements with weight values above a predetermined threshold may beidentified as candidate elements for inclusion in the snippet/summary.The predetermined threshold may be a system default value or a valueselected by a user. In one implementation, all of the candidate elementsmay be included in the snippet/summary. In another implementation, fewerthan all of the candidate elements may be included in thesnippet/summary. There may be constraints on the size of a snippet orsummary. In this case, the snippet/summary may include all or a portionof a candidate element based on the size constraints.

The snippet or summary may be provided (block 840). For example,snippet/summary renderer 414 may obtain information regarding weightvalues for the elements of a document that may be presented to a user ofclient 210. In the case of a snippet, snippet/summary renderer 414 maygenerate or modify the snippet based on the weight values. In the caseof a summary, snippet/summary renderer 414 may generate the summarybased on the weight values. Snippet/summary renderer 414 may present thegenerated/modified snippet or the generated summary on a display ofclient 210.

The user may be permitted to adjust the portion of the document includedin the snippet or summary (block 850). For example, snippet/summaryrenderer 414 may provide a control object by which the user can adjustthe threshold used to determine which elements may be identified ascandidates for the snippet/summary provided to the user. In oneimplementation, the control object may take the form of a slider thatthe user may control to change the threshold and, thus, the length ofthe snippet/summary. For privacy reasons, an element may need to behighlighted by at least a certain number of users before that elementcan be considered a candidate element regardless of the threshold set bythe user.

To illustrate the processing of FIG. 8, consider the document “NothingBut Buffy,” as shown in FIGS. 6A-6D. Assume that users highlighteddifferent elements within that document and that highlightinginformation associated with the highlighted elements was stored in theaggregate database, in a manner similar to that described above. Asshown in FIG. 10, elements of various lengths may include associatedweight values that are based on a number of users who highlighted thoseelements. In the example table of FIG. 10, the weight values may benormalized to fall within a range of 0-100.

In the context of a snippet, assume that a user performed a search for adocument containing “buffy hush” that resulted in the Nothing But Buffydocument being identified by a search engine. The search engine may forma search result document that includes, for example, a list of snippets.The search engine may return the search result document to client 210.Snippet/summary renderer 414, for example, may intercept the searchresult document and parse the document to identify the snippets that itcontains. Assume that snippet/summary renderer 414 identifies a snippetfor the Nothing But Buffy document in the search result document. Inthis case, snippet/summary renderer 414 may contact weight aggregator456 to obtain weight values for elements in the Nothing But Buffydocument.

Snippet/summary renderer 414 may modify the Nothing But Buffy snippet inthe search result document based on the weight values. For example,assume that the threshold set for the snippet is 90. In this case, theelement with a weight value of 95 (FIG. 10) and the element with aweight value of 92 (FIG. 10) may be selected as candidate elements.Snippet/summary renderer 414 may generate a new snippet or modify theexisting snippet based on the candidate elements. Snippet/summaryrenderer 414 may include the snippet, as generated or modified, in thesearch result document and present the search result document to theuser. As shown in FIG. 11A, snippet 1110 for the Nothing But Buffydocument includes both of the candidate elements.

As shown in FIG. 11A, snippet/summary renderer 414 may provide a slider1120 that may permit the user to adjust the threshold used to determinewhich elements are identified as candidates for the snippet. As shown inFIG. 11B, assume that the user adjusts slider 1120 to change thethreshold from 90 to 50. In this case, the element with a weight valueof 95 (FIG. 10), the element with a weight value of 92 (FIG. 10), theelement with a weight value of 75 (FIG. 10), and the element with aweight value of 58 (FIG. 10) may be selected as candidate elements.Snippet/summary renderer 414 may generate a new snippet or modify theexisting snippet based on the candidate elements. Snippet/summaryrenderer 414 may include the snippet, as generated or modified, in thesearch result document and present the search result document to theuser. As shown in FIG. 11B, snippet 1130 for the Nothing But Buffydocument includes all of the candidate elements.

While it has been described that the search engine forms a search resultdocument and snippet/summary renderer 414 modifies a snippet for adocument identified in the search result document based on weight valuesfor elements within that document, this need not be the case. In anotherimplementation, the search engine (which might include snippet/summaryrenderer 414 in this implementation) may generate the snippets for thedocuments identified in the search result document based on the weightvalues for elements within those documents. In this case,snippet/summary renderer 414 may still permit a user to adjust thethreshold used to determine which elements are identified as candidatesfor the snippets.

In the context of a summary, assume that a user identifies the NothingBut Buffy document based on, for example, a URL or link associated withthe document. The Nothing But Buffy document may be presented on adisplay of client 210, as shown in FIG. 12A. In one implementation,snippet/summary renderer 414 may provide a summary button 1210 that maypermit the user to indicate the user's desire for a summary. If the userselects (e.g., clicks on, hovers over, etc.) summary button 1210,snippet/summary renderer 414 may contact weight aggregator 456 to obtainweight values for elements in the Nothing But Buffy document. In anotherimplementation, snippet/summary renderer 414 may identify the user'sdesire for a summary based on another action by the user within thedocument or when the document is identified within a search resultdocument.

Snippet/summary renderer 414 may generate a summary for the Nothing ButBuffy document based on the weight values. For example, assume that thethreshold set for the summary is 90. In this case, the element with aweight value of 95 (FIG. 10) and the element with a weight value of 92(FIG. 10) may be selected as candidate elements. Snippet/summaryrenderer 414 may generate the summary based on the candidate elementsand present the summary to the user. As shown in FIG. 12B, summary 1220for the Nothing But Buffy document includes both of the candidateelements.

As shown in FIG. 12B, summary 1220 may include a slider that may permitthe user to adjust the threshold used to determine which elements areidentified as candidates for the summary. As shown in FIG. 12C, assumethat the user adjusts the slider to change the threshold from 90 to 50.In this case, the element with a weight value of 95 (FIG. 10), theelement with a weight value of 92 (FIG. 10), the element with a weightvalue of 75 (FIG. 10), and the element with a weight value of 58 (FIG.10) may be selected as candidate elements. Snippet/summary renderer 414may generate a new summary or modify the existing summary based on thecandidate elements. Snippet/summary renderer 414 may present summary1230, as generated or modified, to the user, as shown in FIG. 12C. Asshown in FIG. 12C, summary 1230 may include all of the candidateelements.

FIG. 13 is a flowchart of an exemplary process for determining documentstatistics based on highlighting of document elements. In oneimplementation, the processing of FIG. 13 may be performed by one ormore software and/or hardware components within server 220, client 210,or a combination of server 220 and client 210. FIG. 14 is an exemplarydiagram illustrating the presentation of statistics on an exampledocument.

Processing may begin with the aggregation of highlighting informationfrom a group of users (block 1310). For example, users of clients 210may use highlighter tool 410 to highlight elements in documents in amanner similar to that described above with regard to FIG. 5. Thehighlighting information may be stored in the aggregate database ofdatabase 452. As described above, an entry in the aggregate database mayinclude highlighting information for a document from a group of users.

Weight values may be determined for document elements based on theaggregated highlighting information (block 820). A weight value for adocument element may be a function of the number of users whohighlighted that element. Server 220 may generate or maintain a tablefor a document that identifies the weight values for the documentelements, as shown in FIG. 9.

Document statistics may be generated for a document based on theaggregated highlighting information (block 1330). For example,statistics generator 458 may use the weight values for elements within adocument to determine a value for each term (e.g., word or perhapscharacter/symbol) in the document. The document statistics may includethe collection of terms and their corresponding values. The documentstatistics may correspond to information regarding the portion(s) of thedocument that users found interesting by, for example, highlighting theportion(s).

Information regarding the document statistics may be provided (block1340). In one implementation, the information may be provided visuallyon a document, as hotspots, such as shown in FIG. 14. In FIG. 14,different colors (or patterns) may be used to show the different valuesfor the terms within the document. This information may be used toimprove or optimize the design of the document as an alternative toexisting eye tracking techniques.

The technique described with regard to FIGS. 13 and 14 has advantagesover existing eye tracking techniques. Existing eye tracking techniquestypically require a lab equipped with specially designed eye trackingequipment. As a result, eye tracking techniques are complex andexpensive and, thus, rarely used. By contrast, the technique describedherein is very cheap because it can be implemented in software andrequires no complex hardware to track users' eyes. Also, the techniquedescribed herein can be used on a large number of users (e.g., any orall users who access a particular document) instead of requiring usersto visit a specially equipped lab.

CONCLUSION

Implementations described herein may permit users to easily highlightdocument elements. The highlighting for a document may be aggregatedfrom a group of users, such as any or all users who access the document.The aggregated information may be used to generate or modify a snippetor summary relating to the document, or document statistics that may beused to improve or optimize the design of the document. The highlightingperformed by a user, or a group of users, may be shared with anotheruser, or another group of users, or published (e.g., similar to a RSSfeed).

The foregoing description provides illustration and description, but isnot intended to be exhaustive or to limit the invention to the preciseform disclosed. Modifications and variations are possible in light ofthe above teachings or may be acquired from practice of the invention.

For example, while series of acts have been described with regard toFIGS. 5, 7, 8, and 13, the order of the acts may be modified in otherimplementations. Further, non-dependent acts may be performed inparallel.

Also, exemplary user interfaces have been described with respect toFIGS. 6A-6D, 11A, 11B, 12A, 12B, and 14. In other implementations, theuser interfaces may include more, fewer, or different pieces ofinformation.

Further, it has been described that a snippet or summary may begenerated or modified for a document based on highlighting of documentelements. In another implementation, a snippet or summary may begenerated or modified for a document based on prior highlighting ofelements by a particular user. For example, if a user is presented witha snippet or summary for a document, that snippet or summary may begenerated or modified based on prior highlighting of elements within thedocument by that user. If the user had not previously highlighted thedocument, then the snippet or summary may be generated or modified basedon highlighting of document elements as described above.

It will be apparent that aspects, as described above, may be implementedin many different forms of software, firmware, and hardware in theimplementations illustrated in the figures. The actual software code orspecialized control hardware used to implement aspects described hereinis not limiting of the invention. Thus, the operation and behavior ofthe aspects were described without reference to the specific softwarecode—it being understood that software and control hardware can bedesigned to implement the aspects based on the description herein. Noelement, act, or instruction used in the present application should beconstrued as critical or essential to the invention unless explicitlydescribed as such. Also, as used herein, the article “a” is intended toinclude one or more items. Where only one item is intended, the term“one” or similar language is used. Further, the phrase “based on” isintended to mean “based, at least in part, on” unless explicitly statedotherwise.

What is claimed is:
 1. A computer-implemented method comprising:receiving, for each of two or more users, information indicating one ormore elements of a document that the user has highlighted; in responseto determining that the document has been identified as relevant to asearch query, generating, by the one or more processors, a search resultsnippet for the document that includes at least one element that hasbeen highlighted by more than a threshold quantity of users; andproviding a search result that includes the (i) snippet for the documentthat includes the at least one element that has been highlighted by morethan a threshold quantity of users, and (ii) a link to the document. 2.The method of claim 1, where receiving information includes: determiningthat one user, of the two or more users, marked one of the elements inthe document.
 3. The method of claim 1, where receiving informationincludes: determining that one of the two or more users highlighted oneof the elements in the document.
 4. The method of claim 1, wheregenerating a search result snippet includes: determining a quantity ofthe two or more users who highlighted the at least one element in thedocument, and determining the quantity of the two or more users whohighlighted the at least one element in the document is more than thethreshold quantity of users.
 5. The method of claim 1, furthercomprising: receiving a new threshold quantity of users from a userassociated with a client device.
 6. The method of claim 5, furthercomprising: modifying the provided snippet based on the new thresholdquantity of users.
 7. The method of claim 6, where modifying the snippetincludes: determining one of the elements in the document has beenhighlighted by more users than the new threshold quantity, and modifyingthe snippet to include at least a portion of the determined element. 8.The method of claim 1, where receiving, for each of two or more users,information indicating one or more elements of a document that the userhas highlighted includes: persistently storing the information in afirst memory, where the first memory stores data that associates eachparticular user, of the two or more users, with portions of theinformation corresponding to one or more of the elements, within thedocument, highlighted by the particular user; and persistently storingthe information in a second memory, where the second memory stores theinformation, for the document, associated with the two or more users. 9.The method of claim 1, further comprising: generating documentstatistics based on the information indicating one or more elements of adocument that the user has highlighted; and providing the documentstatistics to a client device.
 10. The method of claim 9, whereproviding the document statistics includes: visually providing thedocument statistics on the document using colors or patterns todistinguish one of the elements that has been highlighted by more of theusers than another one of the elements.
 11. A system, comprising: one ormore computers programmed to: receive, for each of two or more users,information indicating one or more elements of a document that the userhas highlighted; in response to determining that the document has beenidentified as relevant to a search query, generate a search resultsnippet for the document that includes at least one element that hasbeen highlighted by more than a threshold quantity of users; and providea search result that includes the (i) snippet for the document thatincludes the at least one element that has been highlighted by more thana threshold quantity of users, and (ii) a link to the document.
 12. Thesystem of claim 11, where the one or more computers are furtherprogrammed to: store information associating a particular portion of theinformation with one or more users, of the two or more users, whohighlighted one or more of the elements within the document associatedwith the particular portion; and store the information from the two ormore users.
 13. The system of claim 11, where the one or more computers,when aggregating the highlighting information, are further programmedto: determine that one user, of the two or more users, marked one of theelements in the document.
 14. The system of claim 11, where the one ormore computers, when aggregating the highlighting information, arefurther programmed to: determine that one of the two or more usershighlighted one of the elements in the document.
 15. The system of claim11, where the one or more computers, when generating a search resultsnippet, are further programmed to: determine a quantity of the two ormore users who highlighted the at least one element in the document, anddetermine the quantity of the two or more users who highlighted the atleast one element in the document is more than the threshold quantity ofusers.
 16. A non-transitory computer readable medium to storeinstructions comprising: one or more instructions which, when executedby one or more processors, cause the one or more processors to receive,for each of two or more users, information indicating one or moreelements of a document that the user has highlighted; one or moreinstructions which, when executed by the one or more processors, causethe one or more processors to in response to determining that thedocument has been identified as relevant to a search query, generate asearch result snippet for the document that includes at least oneelement that has been highlighted by more than a threshold quantity ofusers; and one or more instructions which, when executed by the one ormore processors, cause the one or more processors to provide a searchresult that includes the (i) snippet for the document that includes theat least one element that has been highlighted by more than a thresholdquantity of users, and (ii) a link to the document.
 17. Thenon-transitory computer readable medium of claim 16, the instructionsfurther comprising: one or more instructions to store the highlightinginformation, the highlighting information including: informationassociated with one or more users, of the two or more users, whohighlighted one of the elements within the document.
 18. Thenon-transitory computer readable medium of claim 16, the one or moreinstructions to aggregate highlighting information further including:one or more instructions to determine that one user, of the two or moreusers, marked one of the elements in the document.
 19. Thenon-transitory computer readable medium of claim 16, the one or moreinstructions to aggregate the highlighting information furtherincluding: one or more instructions to determine that one of theplurality of two or more users highlighted one of the elements in thedocument.
 20. The non-transitory computer readable medium of claim 16,the one or more instructions to determine the weight values for the oneor more elements further including: one or more instructions todetermine a quantity of the two or more users who highlighted the atleast one element in the document, and one or more instructions todetermine the quantity of the two or more users who highlighted the atleast one element in the document is more than the threshold quantity ofusers.
 21. The non-transitory computer readable medium of claim 16, theinstructions further comprising: one or more instructions to generatedocument statistics based on the information indicating one or moreelements of a document that the user has highlighted; and one or moreinstructions to provide the document statistics to a client device.